import { createRouter, createWebHashHistory } from 'vue-router'
import Home from '../views/Home.vue'
import firstLeval from '../views/firstLeval/route'
import homeSecond from '../views/homeSecond/route'
const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
    children: [
      ...firstLeval
    ]
  },
  ...homeSecond
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
